package com.yun.userdemo.service;

import com.yun.userdemo.beans.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    int addUser(User user);

    int updateUser(User user);

    int deleteUserById(Integer id);

    User queryUserById(Integer id);

    List<User> queryAllUser();
}
